package com.kaili.basic.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.kaili.basic.pojo.dto.MdmDeviceOnlineAddDto;
import com.kaili.basic.pojo.dto.MdmDeviceOnlineQueryDto;
import com.kaili.basic.pojo.dto.MdmDeviceOnlineUpdateDto;
import com.kaili.basic.pojo.entity.MdmDeviceOnlineExport;
import com.kaili.basic.pojo.vo.MdmDeviceOnlineDetailVo;
import com.kaili.basic.pojo.vo.MdmDeviceOnlineListVo;
import com.kaili.common.response.RestStatus;

import java.util.List;

/**
 * @Description:
 * @Author: shenliqiang
 * @CreateDate: 2019/7/24 11:17
 * @Version: 1.0
 */
public interface IMdmDeviceOnlineService {

    RestStatus addMdmDeviceOnline(MdmDeviceOnlineAddDto dto);

    RestStatus deleteMdmDeviceOnlines(Long[] deviceIds);

    void updateMdmDeviceOnline(MdmDeviceOnlineUpdateDto dto);

    Page<MdmDeviceOnlineListVo> queryMdmDeviceOnline(Page<MdmDeviceOnlineListVo> page, MdmDeviceOnlineQueryDto mdmDeviceOnlineQueryDto);

    List<MdmDeviceOnlineExport> queryMdmDeviceOnlineExport(MdmDeviceOnlineQueryDto mdmDeviceOnlineQueryDto);

    MdmDeviceOnlineDetailVo queryOnlineDeviceDetail(Long deviceOnlineId);

}
